package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 blacklist
 *
 * @author ruoyi
 * @date 2025-08-04
 */
public class Blacklist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 拉黑id */
    @Excel(name = "拉黑id")
    private Integer blackId;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setBlackId(Integer blackId)
    {
        this.blackId = blackId;
    }

    public Integer getBlackId()
    {
        return blackId;
    }

    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("blackId", getBlackId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
